﻿var Star = function (gConstant, mass, sizeAndPosition, name, children) {

    $.extend(this, new UniverseEntity(sizeAndPosition, name, children));

    this.GConstant = gConstant;
    this.Mass = mass;
    this.UniverseEntityType = UniverseEntityTypes.Star;

};